package com.yckj.ytracker.api.model;

public class Endpoint {

    private String host = "";
    private String port = "";
    private String name = "";

    public Endpoint() {
    }

    public Endpoint(String host) {
        this.host = host;
    }

    public Endpoint(String host, String port) {
        this.host = host;
        this.port = port;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Endpoint{" +
                "host='" + host + '\'' +
                ", port='" + port + '\'' +
                ", name='" + name + '\'' +
                '}';
    }
}
